<?php
$lista = Load::model('artistas');
echo "<ul class='listagd'>";
foreach ($lista->masVistos() as $key) {
    echo "<li>";
    echo "<a href='/lista/" . str_replace(' ', '+', utf8_encode($key->autor)) . "'>" . utf8_encode($key->autor) . "</a>";
    echo "</li>";
}
echo "</ul>";
?>
